package com.chow.kaygateway.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


@FeignClient(value = "kay-admin")
@Service
public interface HiService {

    @RequestMapping(value="/hi/{name}", method= RequestMethod.GET)
    String Hi(@PathVariable("name") String name);
}
